---
- name: check if faf installed
  command: rpm -q faf
  args:
    warn: no
  changed_when: false

- name: add user retrace to faf db
  postgresql_user:
    db: faf
    name: retrace
    priv: ALL
    role_attr_flags: SUPERUSER
    state: present
  become: yes
  become_user: postgres
